// 插件
import demoPlugins from "./modules/demo-plugins";
// 组件
import demoComponents from "./modules/demo-components";
// 组件
import demoCharts from "./modules/demo-charts";
// 组件库
import demoElement from "./modules/demo-element";
// 组件库
import demoFilters from "./modules/demo-filters";
// 试验台
import demoPlayground from "./modules/demo-playground";
// 示例
import demoBusiness from "./modules/demo-business";
// CRUD
import demoD2Crud from "./modules/demo-d2-crud";
// 第三方网页
import demoFrame from "./modules/demo-frame";

// 菜单 侧边栏
export const menuAside = [
  demoComponents,
  demoPlugins,
  demoCharts,
  demoElement,
  demoFilters,
  demoPlayground,
  demoBusiness,
  demoD2Crud,
  demoFrame
];

// 菜单 顶栏
export const menuHeader = [
  {
    path: "/index",
    title: "首页",
    icon: "home",
    children: (pre => [
      { path: `${pre}leave`, title: "留言", icon: "home" },
      
    ])("/")
  }
];
